package com.atguigu.gmall.item;

import com.atguigu.gmall.cache.GmallCacheAutoConfiguration;
import com.atguigu.gmall.common.execption.GlobalExceptionHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @Author:lyd
 **/
// 开启aop代理
@Import({
        GlobalExceptionHandler.class

})
@SpringCloudApplication
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.product")
public class ItemApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemApplication.class, args);
    }
}
